package com.itheima.day07_Object_oriented_fundamentals;

public class Demo5_TestVariable {
    public static void main(String[] args) {
        Student1 student1 = new Student1();
        student1.score = 20;
        student1.aaa();
    }
}
class Student1 {
    String name;
    double score;

    public void aaa(){
        double score = 98;
        System.out.println("this.score = " + this.score);
        System.out.println("score = " + score);
    }
}